﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Plat.DataRepository;
using Plat.WfProcess.Common;

namespace Plat.WfProcess.Business
{
    /// <summary>
    /// 任务实体对象
    /// </summary>
    public class TaskEntity
    {
        public long TaskID
        {
            get;
            set;
        }

        public string ActivityInstanceGUID
        {
            get;
            set;
        }

        public string ProcessInstanceGUID
        {
            get;
            set;
        }

        public long AssignedToUserID
        {
            get;
            set;
        }

        public string AssignedToUserName
        {
            get;
            set;
        }

        public short TaskTypeID
        {
            get;
            set;
        }

        public byte IsTaskCompleted
        {
            get;
            set;
        }

        public DateTime CreatedDateTime
        {
            get;
            set;
        }

        public DateTime? EndedDateTime
        {
            get;
            set;
        }

        public long EndedByUserID
        {
            get;
            set;
        }

        public string EndedByUserName
        {
            get;
            set;
        }

        public DateTime? LastUpdatedDateTime
        {
            get;
            set;
        }

        public byte RecordStatusInvalid
        {
            get;
            set;
        }
    }
}
